#pragma once

#include "WaitHandle.h"

namespace xgu{ namespace Threading{

class EventWaitHandle : public WaitHandle
{
public:
	EventWaitHandle(void);
	virtual ~EventWaitHandle(void);

	void Set() const
	{
		::SetEvent(getSafeWaitHandle());
	}
	void Reset() const
	{
		::ResetEvent(getSafeWaitHandle());
	}
};

}}
